# listcomp.py
lans = ["C","C++","Pascal"]
# 两个列表的拼接
print(["Python","Ruby","R","Scala"]+lans)
# 原列表元素重复n次
print([1,3,5]*2)
# 生成一个新字符串，。其中字符串重复n次
print('Python'*5)